<template>
  <div>
    首页
    <router-view></router-view>
    <!-- 底部导航 -->
    <van-tabbar v-model="active" route>
      <van-tabbar-item name="article" icon="home-o" to="/article"
        >面经</van-tabbar-item
      >
      <van-tabbar-item name="collect" icon="search" to="/collect"
        >收藏</van-tabbar-item
      >
      <van-tabbar-item name="like" icon="friends-o" to="/like"
        >喜欢</van-tabbar-item
      >
      <van-tabbar-item name="my" icon="setting-o" to="/my"
        >我的</van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>
<script>
export default {
  name: '',
  data () {
    return {
      active: 0
    }
  },
  created () {
  },
  computed: {
  },
  methods: {
  }
}
</script>
<style lang='less'  scoped>
</style>
